#ifndef STARTWINDOW_H
#define STARTWINDOW_H

#include <QWidget>
#include "mainwindow.h"

namespace Ui {
class startwindow;
}

class startwindow : public QWidget
{
    Q_OBJECT
signals:
    //定义的发到MianWidow界面的信号
    void SignalShowMainwidow(QString);

private slots:
    //go to mainwindow
    void on_Startbutton_clicked(bool);
    void lick_GoTo_Rankdialog(bool);
    void processShowStartwindow();

    void on_Rankbutton_2_clicked();

private:
    Ui::startwindow *ui;
    int click_count=0;
    QPixmap m_background;

    MainWindow* Mptr;
    QWidget* sf;

    void initStartwindow();
    void paintEvent(QPaintEvent *);
    //void process_Informantion_From_Mainwidow(QString);

public:
    explicit startwindow(QWidget *parent = 0);
    ~startwindow();

};

#endif // STARTWINDOW_H
